﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IM.Common;

namespace IM.Logic
{
    public class IMLogicMgr
    {
        private static IHanleServer m_hanleServer = null;

        public static IHanleServer CreateLogicServer(IHanleSink handleSink)
        {
            if (m_hanleServer == null)
            {
                m_hanleServer = new IMLogic(handleSink);
            }
            return m_hanleServer;
        }
    }
}
